package com.k.kpp.service;

import com.k.kpp.model.UserReq;

import java.util.List;

/**
 * @author k
 */
public interface UserService {
    /**
     * select all
     * @return
     */
    List selectUser();

    /**
     * count
     * @param req req
     * @return list
     */
    Long selectCount(UserReq req);

    /**
     * list by page
     * @param req req
     * @return list
     */
    List selectListByPage(UserReq req);

    int insertUserRollback();
    int insertUser();

    int deleteArr(Integer[] idArr);
    int deleteList(List<Integer> idList);
}
